﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Categories.ascx.cs"
    Inherits="Framework.Portal.Layouts.Admin.Components.Teenio.Category.Categories" %>
<table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
    <tr>
        <td class="postheader" width="40%" align="left" valign="top">
            <asp:Repeater ID="rptMenu" runat="server" OnItemDataBound="rptMenu_ItemDataBound"
                OnItemCommand="rptMenu_ItemCommand">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                        <tr>
                            <td class="header2" align="center" height="18" width="5%">
                                #
                            </td>
                            <td class="header2" align="left" height="18" width="85%">
                                Name
                            </td>
                            <td class="header2" align="center" height="18" width="10%">
                                Action
                            </td>
                        </tr>
                </HeaderTemplate>
                <FooterTemplate>
                    <tr>
                        <td class="postfooter" colspan="3" align="left" height="18">
                            &nbsp;
                        </td>
                    </tr>
                    </table>
                    <br />
                </FooterTemplate>
                <ItemTemplate>
                    <tr>
                        <td class="post" align="center" height="18">
                            <asp:Label ID="lblSTT" runat="server"></asp:Label>
                        </td>
                        <td class="post" align="left" height="18">
                            <asp:Label ID="lblName" runat="server"></asp:Label>
                        </td>
                        <td class="post" align="center" height="18">
                            <NS:ImageButton ID="Label17" runat="server" LocalizedPage="IMAGEACTION" CommandName="edit" LocalizedTag="EDIT24" />
                        </td>
                    </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <tr>
                        <td class="postheader" align="center" height="18">
                            <asp:Label ID="lblSTT" runat="server"></asp:Label>
                        </td>
                        <td class="postheader" align="left" height="18">
                            <asp:Label ID="lblName" runat="server"></asp:Label>
                        </td>
                        <td class="postheader" align="center" height="18">
                            <NS:ImageButton ID="Label17" runat="server" LocalizedPage="IMAGEACTION" CommandName="edit" LocalizedTag="EDIT24" />
                        </td>
                    </tr>
                </AlternatingItemTemplate>
            </asp:Repeater>
        </td>
        <td class="postcaption" width="60%" align="left" valign="top">
            <asp:Repeater ID="rptCategory" runat="server" OnItemDataBound="rptCategory_ItemDataBound"
                OnItemCommand="rptCategory_ItemCommand">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                        <tr>
                            <td class="header2" align="center" height="18" width="5%">
                                #
                            </td>
                            <td class="header2" align="left" height="18" width="85%">
                                Name
                            </td>
                            <td class="header2" align="center" height="18" width="10%">
                                Action
                            </td>
                        </tr>
                </HeaderTemplate>
                <FooterTemplate>
                    <tr>
                        <td class="postfooter" colspan="3" align="left" height="18">
                            &nbsp;
                        </td>
                    </tr>
                    </table>
                    <br />
                </FooterTemplate>
                <ItemTemplate>
                    <tr>
                        <td class="post" align="center" height="18">
                            <asp:Label ID="lblSTT" runat="server"></asp:Label>
                        </td>
                        <td class="post" align="left" height="18">
                            <asp:Label ID="lblName" runat="server"></asp:Label>
                        </td>
                        <td class="post" align="center" height="18">
                            <NS:ImageButton ID="Label17" runat="server" LocalizedPage="IMAGEACTION" CommandArgument='<%# Eval("ZONE_ID") %>' CommandName="edit" LocalizedTag="EDIT24" />
                            &nbsp;
                            <NS:ImageButton ID="Label7" runat="server" LocalizedPage="IMAGEACTION" CommandArgument='<%# Eval("ZONE_ID") %>' CommandName="delete" LocalizedTag="DELETE24" />
                        </td>
                    </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <tr>
                        <td class="postheader" align="center" height="18">
                            <asp:Label ID="lblSTT" runat="server"></asp:Label>
                        </td>
                        <td class="postheader" align="left" height="18">
                            <asp:Label ID="lblName" runat="server"></asp:Label>
                        </td>
                        <td class="postheader" align="center" height="18">
                            <NS:ImageButton ID="Label17" runat="server" LocalizedPage="IMAGEACTION" CommandArgument='<%# Eval("ZONE_ID") %>' CommandName="edit" LocalizedTag="EDIT24" />
                            &nbsp;
                            <NS:ImageButton ID="Label7" runat="server" LocalizedPage="IMAGEACTION" CommandArgument='<%# Eval("ZONE_ID") %>' CommandName="delete" LocalizedTag="DELETE24" />
                        </td>
                    </tr>
                </AlternatingItemTemplate>
            </asp:Repeater>
            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                <tr>
                    <td class="header2" colspan="2" align="left" height="18">
                        <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="postheader" width="25%" align="left">
                        <NS:Label ID="Label23" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="ID" />
                    </td>
                    <td class="post" width="75%" align="left">
                        <asp:Label ID="lblID" runat="server" Font-Bold="true"></asp:Label><asp:HiddenField ID="hddMenuID" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="postheader" width="25%" align="left">
                        <NS:Label ID="Label24" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="NAME" />
                    </td>
                    <td class="post" width="75%" align="left">
                        <asp:TextBox runat="server" ID="txtName" Width="95%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="postheader" width="25%" align="left">
                        <NS:Label ID="Label25" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="DESCRIPTION" />
                    </td>
                    <td class="post" width="75%" align="left">
                        <NS:FilePicker Width="90%" ID="fpkImages" runat="server" FileType="jpg" PopupTitle="Up ảnh" PopupFilter="image"></NS:FilePicker>
                    </td>
                </tr>
                <tr>
                    <td class="postheader" width="25%" align="left">
                        <NS:Label ID="Label1" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="DESCRIPTION" />
                    </td>
                    <td class="post" width="75%" align="left">
                        <asp:DropDownList ID="drgType" runat="server"></asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="postfooter" colspan="2" valign="middle" align="center">
                        <NS:Button LocalizedPage="ACTION" LocalizedTag="UPDATE" ID="cmdUpdate" runat="server"
                            CssClass="pbutton" OnClick="cmdUpdate_Click" Text="Cập nhật" Width="77px" />
                        <NS:Button LocalizedPage="ACTION" LocalizedTag="CREATE" ID="cmdAdd" runat="server"
                            CssClass="pbutton" OnClick="cmdAdd_Click" Text="Thêm mới" Width="77px" />
                        <NS:Button LocalizedPage="ACTION" LocalizedTag="RESET" ID="cmdEmpty" runat="server"
                            CssClass="pbutton" CausesValidation="False" OnClick="cmdEmpty_Click" Text="Hủy"
                            Width="77px" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
